@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');

/* font-family: "Reddit Sans", sans-serif;
font-family: "Montserrat", sans-serif;*/

body {
  --p-font: "Reddit Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
  --h-font: "Montserrat", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;

  --primary: #c01f30;
  --primaryRGB: 192, 31, 48;

  --secondary: #444444;
  --secondaryRGB: 68, 68, 68;



  --third: #EFDFCB;
  --thirdRGB: 239, 223, 203;
}


/* hide home sections */

/* live hide */
.home #anna-modern-fold {
  display: none;
}

.home section[aria-label="property search hero"] {
  display: none;
}

.home section[data-cy="footer-valuation"] {
  display: none;
}

/* dev hide */
.home #search-tabs,
.home>section[aria-label="property search hero"] {
  display: none;
}

.home section[data-cy="footer-valuation"] {
  display: none;
}

/* miranda banner hide */
#quicksearch-section {
  display: none;
}

/* Page Resets */
.home #content {
  width: 100%;
  padding: 0;
}

.home .section-width-wrapper {
  padding: 0 !important;
  max-width: 100% !important;
}

.home #sidebar {
  display: none;
}

.home>div.lg\:px-40 {
  padding: 0 !important;
}

.home #content>section {
  margin: 0 !important;
}

.home header {
  position: fixed;
}

/* modern fixes */

#rg-valuation-iframe-0 {
  min-height: 25rem !important;
}

.property-detail-listing-vertical:hover {
  outline: none !important;
}

/*  */

/* Fonts */
body *:is(p, li, a, label, legend, button, option, summary) {
  font-family: var(--p-font) !important;
}

/* body #content .mce-content *:is(p, li, a) {
  font-size: 1.25em;
} */

body *:is(h1, h2, h3, h4, h5, h6, .text-hero) {
  font-family: var(--h-font) !important;
}

body h1,
body.home h2,
body .text-hero {
  font-weight: 400;
  text-transform: uppercase;
}



/* navigation */

.home header.custom-scroll,
.pages header,
nav.top-nav {
  box-shadow: 0 1px 8px rgb(0, 0, 0, 0.15);
  border-bottom: none;
}

body>header>nav.relative>div.mx-0.pr-2.pl-6.lg\:px-8>div {
  height: 6rem;
}

body header #nav-logo {
  height: 4rem;

  img {
    transition: 300ms ease;
  }

}

@media (min-width: 768px) {
  body header #nav-logo {
    height: 4rem;
  }
}

body.home header:not(.custom-scroll) img {
  /* filter: brightness(0) invert(1); */
  opacity: 0;
}

body.home header>nav>div:first-child {
  transition: 300ms ease;
}

body.home header:not(.custom-scroll)>nav:not(#mobile-menu)>div:first-child {
  opacity: 1;
  background-color: rgb(255, 255, 255, 0);
}

/* body.home header {
  background: #222;
} */

#nav-links>div {
  justify-content: flex-end;
  align-items: center;
}

body.home:not(.agent) header:not(.custom-scroll) #nav-links a {
  color: #fff;
}

body.home:not(.agent) header:not(.custom-scroll) #nav-links a:hover {
  color: var(--primary);
}

/* scrolled and pages nav links */
body.home header.custom-scroll #nav-links a,
body.agent header #nav-links a,
body.pages header #nav-links a {
  color: var(--secondary);
}

body.home header.custom-scroll #nav-links a:hover,
body.agent header #nav-links a:hover,
body.pages header #nav-links a:hover {
  color: var(--primary);
}

/* fix ugly border */

header #nav-links a {
  border: none;
  padding-bottom: 0.5rem;
  font-size: 0.85em;
  font-weight: bold;
}

header #nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  /* transform: translateX(-50%); */
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: 300ms ease;
}

body.home:not(.agent) header #nav-links a::after {
  background: var(--primary);
}

header #nav-links a:hover::after {
  width: 100%;
}

/* custom banner nav links */
body.home:not(.agent) header:not(.custom-scroll) #nav-links a:hover::after {
  background: var(--primary);
}

header #nav-links a:hover::after {
  width: 100%;
}

/* icons */

#nav-icons svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: 300ms ease;
}

body.home header #nav-icons svg {
  fill: #fff;
  color: #fff;
}

body.home header.custom-scroll #nav-icons svg,
body.pages header #nav-icons svg {
  fill: var(--primary);
  color: var(--primary);
}

#nav-menu-button svg path {
  transition: d 300ms ease;
}

#nav-menu-button svg:hover path {
  d: path("M 4 8 h 16 M 4 12 h 16 M 4 16 h 16");
}

@media (min-width: 451px) {
  .user-contact-icons ul {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}

.user-contact-icons .svg-inline--fa:not(.fa-bars) {
  display: none;
}

.user-contact-icons ul li a {
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transition: 300ms ease;
}

.user-contact-icons ul li a:hover svg {
  transition: 300ms ease;
}

.user-contact-icons ul li a:hover,
.user-contact-icons ul li a:hover svg {
  fill: var(--secondary);
}

.user-contact-icons ul li a svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--primary);
}

nav.top-nav a {
  transition: 300ms ease;
}

nav.top-nav a:hover {
  color: var(--primary);
}

/* mobile menu */

#mobile-menu .text-palette-navigationLink-color {
  color: var(--secondary);
  transition: 300ms ease;
  border-bottom: none;
  padding-bottom: 0.25rem;
  position: relative;
  font-family: var(--h-font) !important;
  font-size: 1.5em !important;
}

#mobile-menu .text-palette-navigationLink-color:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: var(--primary);
  transition: 300ms ease;
}

#mobile-menu .text-palette-navigationLink-color:hover:before {
  width: 100%;
}

/* #mobile-menu>div>div.pl-12.pr-32.pt-16.pb-8.flex.flex-col.h-mobile-nav-inner.sm\:h-screen.overflow-y-auto>div.sm\:hidden.pt-9.border-t.border-medium-gray,
#mobile-menu>div>div.sm\:hidden.p-4.absolute.bottom-0.p-11.text-white.bg-dark-gray.w-full {
  display: block;
} */

#mobile-menu .bg-dark-gray {
  background-color: var(--secondary);
}

#mobile-menu .bg-dark-gray>a {
  color: #fff;
}

.user-popup-mobile {
  z-index: 999;
}




/* nav social */
#navSocialMedia {
  gap: 1rem;
}

#navSocialMedia a.social-icon-footer {
  line-height: 1;
  color: var(--primary);
  font-size: .75em;
  display: block;
  transition: 300ms ease;
}

#navSocialMedia a.social-icon-footer:hover {
  color: var(--secondary);
}

/* Hero */

#custom-hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: grid;
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed; */
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.custom__video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#custom-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image: linear-gradient(45deg,
      rgb(0, 0, 0, 0.01),
      rgb(0, 0, 0, 0.35) 30% 70%,
      rgb(0, 0, 0, 0.025));
}

#custom-hero .custom-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 3;
  padding-inline: 2rem;
  width: min(900px, 100%);
  left: 50%;
  transform: translateX(-50%);
}

#custom-hero h1 {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
  border: none;
  text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, 0.35);
  font-size: 35px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

#custom-hero h1 span.--sub {
  display: block;
  font-size: 16px;
  margin-top: 1rem;
  font-weight: 500;
  font-family: var(--p-font);
  line-height: 1.25;
}

#custom-hero h1 span.--sub.top {
  margin-top: 0;
  margin-bottom: 1rem;
}


#custom-hero h2 {
  text-align: center;
  color: #fff;
  line-height: 1;
  margin: 0;
  padding: 0;
  margin-top: 1em;
}

#custom-hero #custom-search-tabs {
  display: grid;
  margin-top: 1rem;
  gap: 1rem;
  position: relative;
  z-index: 3;
  width: 100%;
}

#custom-hero #custom-search-tabs a {
  display: inline-block;
  line-height: 1;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  color: #fff;
  transition: 300ms ease;
  padding: 1em 3em;
  background-color: var(--primary);
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
}

#custom-hero #custom-search-tabs a:hover {
  background-color: var(--secondary);
  color: #fff;
}

@media (min-width: 768px) {

  #custom-hero h1 {
    font-size: 45px;
  }

  #custom-hero #custom-search-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

}

.home #custom-hero #react-typeahead,
#custom-search-tabs {
  width: 100%;
  /* margin-top: 1rem; */
  max-width: 100%;
}

/* page updates */

/* body .h-hero-image {
  height: 50vh;
  height: 50svh;
} */

.text-hero {
  text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, 0.5);
}

.h-hero-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.2);
  z-index: 2;
}

.h-hero-image>div:nth-child(2) {
  position: relative;
  z-index: 3;
}

/* map */
.mapsearch .search-results,
.mapsearch .viewport {
  width: 100%;
  max-width: 100%;
}